#ifndef _MYLIB_ZHY_LOG_TCP_SERVER_H_
#define _MYLIB_ZHY_LOG_TCP_SERVER_H_

#include "zhy_log.h"
#include "zhy_log-inl.h"


typedef struct ts_zhy_socket_node{
	int socket;
	struct ts_zhy_socket_node *next;
}zhy_socket_node;

int zhy_log_tcpserver_init(const zhy_log_remote_conf *conf);
int zhy_log_tcpserver_destroy();
void zhy_log_remote_tcp(const char *log);

#endif //_MYLIB_ZHY_LOG_TCP_SERVER_H_